<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<style type="text/css">
	#tabsp {
	 border-top: none;
	}
	
	.row>div{
		margin-bottom: 0;
	}
	
</style>
	<div class="tab-paneall">
			<div class="panel-bodyall">
			 	<div id="outerall">
				<div id="contentall">
					<ul class="ul-style" style="display:block;">			    
						<div class="tab-bg">
							<div class="tab-width">
							   <div class="row m-b-lg">
						            <div class="col-sm-12">
						                <div class="tabs-container-list">
						                    <div class="tabs-left">
						                        <ul class="nav nav-tabs">
						                            <li class="active"><a data-toggle="tab" href="#tab-7" onclick="clickLeftTab1();" id="left_tab_1">审批流转</a></li>
						                            <li class=""><a data-toggle="tab" href="#tab-8" onclick="clickLeftTab2();" id="left_tab_2">贷前资料</a></li>
						                            <li class=""><a data-toggle="tab" href="#tab-9" onclick="clickLeftTab3();" id="left_tab_3">贷中资料</a></li>
						                            <li class=""><a data-toggle="tab" href="#tab-16" onclick="clickLeftTab10(24);" id="left_tab_10">身份证明</a></li>
						                            <li class=""><a data-toggle="tab" href="#tab-12" onclick="clickLeftTab6();" id="left_tab_6">附件归档</a></li>
						                        </ul>
						                         <div class="tab-content">
						                            <div id="tab-7" class="tab-pane active">
														<div class="panel-body" style="border-bottom: none">
														 	<div id="outersp" class="outer">
															    <ul id="tabsp" class="taber">
															        <li class="current" onclick="splz();" id="right_tabl_1">审批流转</li>
															        <li onclick="zhxx();" style="display: none;">综合信息</li>
															    </ul>
															    <div id="contentsp" class="contenter">
															        <ul class="ul-style" style="display:block;">
															            <%@include file="/web/system/kehubiao/splz.jsp"%>	
															    	</ul>
															    	<ul class="ul-style" style="display: none;">
															            <%@include file="/web/system/kehubiao/zhxx.jsp"%>	
															    	</ul>
															    </div>	    
						                        			</div>
						                        		</div>
						                        	</div>
						                            <div id="tab-8" class="tab-pane">
														<div class="panel-body">
														 	<div id="outer">
															    <ul id="tab">
															        <li class="current" onclick="dqzl(3);" id="right_tabl_2">征信情况</li>
															        <li onclick="chelxx(4);">车辆&车贷</li>
															        <li id="zhujierenLi" onclick="showUl('zhujieren', 5);" style="display: none;">购车人</li>
															        <li id="peiouLi" onclick="showUl('peiou', 5);" style="display: none;">共同购车人</li>
															        <li id="danbaoren1Li" onclick="showUl('danbaoren1', 5);" style="display: none;">担保人一</li>
															        <li id="danbaoren2Li" onclick="showUl('danbaoren2', 5);" style="display: none;">担保人二</li>
															        <li id="danbaoren3Li" onclick="showUl('danbaoren3', 5);" style="display: none;">担保人三</li>
															        <li id="danbaoren4Li" onclick="showUl('danbaoren4', 5);" style="display: none;">担保人四</li>
															    </ul>
															    <div id="content">
															        <ul class="ul-style" style="display:block;">
															            <%@include file="/web/system/kehubiao/dqzl.jsp"%>
															        </ul>
															        <ul class="ul-style">
															           <%@include file="/web/system/kehubiao/chelxx.jsp"%>
															        </ul>
															        <ul id="zhujierenUl" class="ul-style" style="display: none;">
															            <%@include file="/web/system/kehubiao/gcrxx.jsp"%>
															        </ul>
															        <ul id="peiouUl" class="ul-style" style="display: none;">
															          	<%@include file="/web/system/kehubiao/gtgcr.jsp"%>
															        </ul>
															        <ul id="danbaoren1Ul" class="ul-style" style="display: none;">
															          	<%@include file="/web/system/kehubiao/danbaoren1xx.jsp"%>
															        </ul>
															        <ul id="danbaoren2Ul" class="ul-style" style="display: none;">
															          	<%@include file="/web/system/kehubiao/danbaoren2xx.jsp"%>
															        </ul>
															        <ul id="danbaoren3Ul" class="ul-style" style="display: none;">
															          	<%@include file="/web/system/kehubiao/danbaoren3xx.jsp"%>
															        </ul>
															        <ul id="danbaoren4Ul" class="ul-style" style="display: none;">
															          	<%@include file="/web/system/kehubiao/danbaoren4xx.jsp"%>
															        </ul>
															    </div>
															</div>
														 	
														</div>
						                            </div>	
						                            <div id="tab-9" class="tab-pane">
														<div class="panel-body">
														 	<div id="outernine">
															    <ul id="tabnine">
															        <li class="current" onclick="zhxx(6);" id="right_tabl_3">业务流程信息</li>
															        <li onclick="cheliangxx(7);">车辆信息</li>
															        <li onclick="gpsxx(8);">GPS信息</li>
															        <li onclick="diyaxx(9);">抵押信息</li>
															    </ul>
															    
															    <div id="contentnine">
															        <ul class="ul-style" style="display:block;">
															       		<%@include file="/web/system/kehubiao/ywlcxx.jsp"%>
																	</ul>
															        <ul class="ul-style">
																		<%@include file="/web/system/kehubiao/cheliangxx.jsp"%>
																	</ul>
															        <ul class="ul-style">
																		<%@include file="/web/system/kehubiao/gpsxx.jsp"%>							
																	</ul>
															        <ul class="ul-style">
																		<%@include file="/web/system/kehubiao/diyaxx.jsp"%>			
																	</ul>
															    </div> 
															</div>    
						                            	</div>
						                            </div>	
						                            
						                            <div id="tab-16" class="tab-pane">
						                                <%@include file="/web/system/kehubiao/shenfenzil.jsp"%>	
						                            </div>
						                            
						                            <div id="tab-12" class="tab-pane">
						                                <%@include file="/web/system/kehubiao/fujianzil.jsp"%>	
						                            </div>
						                        </div>
						                    </div>
						                </div>
						            </div>
						         </div>
						      </div>
						</div>
					</ul>
				</div>
			</div>
		</div>
	</div>					
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>

 	<!-- summernote -->
 	<%@include file="/js/common-dpqc/dpqc-summernote/comm_summernote_include.jsp"%>
 	<!-- 文件上传 -->
 	<%@include file="/jsp/common_fileupload_include.jsp"%>
 	
 	<!-- jqGrid -->
    <script type="text/javascript" charset="utf-8" src="${basePath}/js/plugins/jqgriddemo/js/jquery.jqGrid.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="${basePath}/js/plugins/jqgriddemo/js/grid.locale-cn.min.js"></script>	
    <script type="text/javascript" src="${basePath}/js/kehubiao/customer.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/splz.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/zhxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/zxcx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/gcr.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/chelxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/cheliangxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/gpsxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/diyaxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/baobiaoxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/dakuan.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/shouzhixx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/yewlicxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/xianggaunbaox.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/chuxianqk.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/yuqixx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/fujianzil.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
 	<!-- layerDate plugin javascript -->
    <script type="text/javascript" src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>
 	<!-- 
 	    作者：程立勇
 	   描述：js脚本
 	 -->
    
    
 	<!-- 
 	    作者：程立勇
 	   描述：js脚本
 	 -->
	<script type="text/javascript">

	   var busiId = "";
	   var queryCreditApplyId = "";

 	   $(document).ready(function (){
 		    $("#otherMessage").hide();
 		    changeIdNo();
 		    busiId  = $('#busiId').val();
 		    queryCreditApplyId = $('#queryCreditApplyId').val();
 		    
 		   /* 业务信息 */
 		    getYwBusinessDetail();
	        // getYwBusinessDetailZ('${basePath}/BaseCustomerController/ywBusinessDetail');
 		    /* 审批记录 */
	         getSpList('${basePath}/OtherAuditInfoController/list');
	 	});
 	   
 	  /* 业务信息 */ 
	 	  function getYwBusinessDetail(){
	  		 getYwBusinessDetailZ('${basePath}/BaseCustomerController/ywBusinessDetail'); 
	  	  }
	    //首先展示的数据
	 	function homePage(obj){
	 		currentContent(obj);
	 	}
	    
	   function clickLeftTab1(){
		 $('#right_tabl_1').click();
	   }
	  function clickLeftTab2(currentTab){
		 hideAllTabs();
		 gcrxx(currentTab);
		 $('#right_tabl_2').click(); 
	   }
	 function clickLeftTab3(){
		$('#right_tabl_3').click(); 
	   }
	function clickLeftTab4(){
		$('#right_tabl_4').click();  
	  }
	 function clickLeftTab5(){
		$('#right_tabl_5').click();
	  }
	 function clickLeftTab6(currentTab){
		fujian(currentTab);
	 }
	 function fujian(currentTab){
		currentTabGlobal = currentTab;
		 getFujianzilZ();
		 $('#right_tabl_6').click();
		 $('#right_tabl_16').click();
	 }
	    //审批
	   function splz(currentTab){
		   currentTabGlobal = currentTab;
	 		var postData = $("#table_list_1").jqGrid("getGridParam", "postData");
			$.extend(postData, {dataId:busiId});
	        $("#table_list_1").jqGrid("setGridParam", { search: true }).trigger("reloadGrid", [{ page: 1}]);
	   }
		/* 综合信息**业务流程信息**放贷信息*/
	   function zhxx(currentTab){
		  currentTabGlobal = currentTab;
	      getZhxx('${basePath}/BaseCustomerController/zhxxDetail');
	   }
	  /* 征信情况 */
	   function dqzl(currentTab){
		  currentTabGlobal = currentTab;
	       getZxcx('${basePath}/BaseCustomerController/zxcxDetail');
	   }
	  /* 购车人信息**共同购车人*/
	   function gcrxx(currentTab){
		  currentTabGlobal = currentTab;
	       getGcr('${basePath}/BaseCustomerController/gcrDetail');
	   }
	  /* 车辆&车贷 */
	   function chelxx(currentTab){
		  currentTabGlobal = currentTab;
	       getChlxx('${basePath}/BaseCustomerController/chlxxDetail');
	   }
	  /* 车辆信息 &车牌*/
	   function cheliangxx(currentTab){
		  currentTabGlobal = currentTab;
	       getCheliangxx('${basePath}/BaseCustomerController/cheDetail');
	   }
	   /* GPS*/
	   function gpsxx(currentTab){
		  currentTabGlobal = currentTab;
	        getGpsxx('${basePath}/BaseCustomerController/gpsDetail'); 	   
		}
	   /*抵押信息 */
	   function diyaxx(currentTab){
		  currentTabGlobal = currentTab;
	       getDiyaxx('${basePath}/BaseCustomerController/diyaDetail');  
		}
	   /* 按揭日表表 */
	   function baobiaoxx(currentTab){
		  currentTabGlobal = currentTab;
       getBaobiaoxx('${basePath}/BaseCustomerController/baobiaoDetail');
		}
	  /* 财务打款 */
	   function caiwudakuan(currentTab){
		  currentTabGlobal = currentTab;
		  getDakuanxx('${basePath}/BaseCustomerController/dakuanDetail');
		}
	   /*收支管理 */
	   function shuzhixx(currentTab){
		  currentTabGlobal = currentTab;
	        getShzList('${basePath}/CwIncomeExpensesItemController/list','${basePath}/BaseCustomerController/shouZhiDetail');
		}
	   /*业务流程信息登记 */
	   function yewulicxx(currentTab){
		  currentTabGlobal = currentTab;
		  getYewlixx('${basePath}/BaseCustomerController/yewliDetail');
		}
	  /*相关保险 */
	   function xianggaunbaox(currentTab){
		  currentTabGlobal = currentTab;
		  getBaoXxx('${basePath}/BaseCustomerController/baoxianDetail');
		}
	  /*出险记录 */
	   function chuxianqk(currentTab){
		  currentTabGlobal = currentTab;
		  getChuxianxx('${basePath}/BaseCustomerController/chuxianDetail');
		}
    /*逾期情况*/
    function yuqiqk(currentTab){
 	   currentTabGlobal = currentTab;
    	  getYuqiList('${basePath}/BaseCustomerController/yuqiList');
    }
    /*保险详情*/
    function getBaoxDetailZ(){
 	   getBaoxDetail('${basePath}/BaseCustomerController/baoxianDetail');
    }
    /*出险详情*/
    function getChuxianDetailZ(){
 	   getChuxianDetail('${basePath}/BaseCustomerController/chuxianDetail');
    }
    
    /* 附件信息 */
    var firstFujianzil = true;
    function getFujianzilZ(){
 	   if(firstFujianzil) {
 		   firstFujianzil = false;
	    	   getFujianzil();
 	   }
    }
    
    function clickLeftTab10(currentTab){
 		fujian(currentTab);
 		$('#right_tabl_16').click();
 	 }
    
    function resetSplz(){
 	  $('.splztab').each(function(){
	 			var id =$(this).attr('id');
	 			space(id);
	 	   });
    }
	 	
	 	/* 流转卡 */
	 	function showSplz(phoneStatus, busiStatus,channelType, channelStatus, lessInformationStatus,addedStatus1, pickCarStatus, registrationPlatesStatus, pledgeStatus, lendingStatus, depositMoneyStatus,carType) {
	 		 if(phoneStatus == '${phoneStatusNames.PHONE_1_ING}') {
	 			green('dsys');
	 			space('dses');
	 		 } else if(phoneStatus == '${phoneStatusNames.PHONE_2_ING}') {
	 			 grey('dsys');
	 			 green('dses');
	 		 } else if(phoneStatus == '${phoneStatusNames.PHONE_2_SUCCESS}'){
	 			 grey('dsys');
	 			 grey('dses');
	 		 } else if(phoneStatus == '${phoneStatusNames.PHONE_1_FAIL}'){
	 			 grey('dsys');
	 			 space('dses');
	 		 } else if(phoneStatus == '${phoneStatusNames.PHONE_2_FAIL}'){
	 			 grey('dsys');
	 			 grey('dses'); 
	 		 } else {
	 			 space('dsys');
	 			 space('dses');
	 		 }
	 		 
	 		 if(pickCarStatus == 0) {
	 			space('tcqr');
	 		 } else if(pickCarStatus == 1) {
	 			green('tcqr');
	 		 } else if(pickCarStatus == 2) {
	 			grey('tcqr');  
	 		 }
	 		 
	 		 if(registrationPlatesStatus == 0) {
	 			space('cpdj');
	 		 } else if(registrationPlatesStatus == 1) {
	 			green('cpdj');
	 		 } else if(registrationPlatesStatus == 2) {
	 			grey('cpdj');  
	 		 }
	 		 
	 		 if(pledgeStatus == 0) {
	 			space('dyqr');
	 		 } else if(pledgeStatus == 1) {
	 			green('dyqr');
	 		 } else if(pledgeStatus == 2) {
	 			grey('dyqr');  
	 		 }
	 		 
	 		 if(lendingStatus == 0) {
	 			space('aqhk');
	 		 } else if(lendingStatus == 1) {
	 			green('aqhk');
	 		 }
	 		 
	 		 if(depositMoneyStatus == 0) {
	 			space('tyjcs');
	 			space('tyjxb');
	 		 } else if(depositMoneyStatus == 1) {
	 			green('tyjcs');
	 			green('tyjxb');
	 		 } else if(depositMoneyStatus == 2) {
	 			grey('tyjcs');
	 			green('tyjxb');
	 		 } else if(depositMoneyStatus == 3) {
	 			green('tyjcs');
	 			grey('tyjxb');
	 		 } else if(depositMoneyStatus == 4) {
	 			grey('tyjcs');
	 			grey('tyjxb');
	 		 }
	 		 
	 		 if(!lessInformationStatus || lessInformationStatus == '') {
	 			space('zlbqbs');
	 		 } else if(lessInformationStatus == '${lessInformationStatusNames.QIAN_ZI_LIAO}'){
	 			green('zlbqbs');
	 		 } else if(lessInformationStatus == '${lessInformationStatusNames.ZI_LIAO_QI_QUAN}'){
	 			space('zlbqbs');
	 		 } else if(lessInformationStatus == '${lessInformationStatusNames.ZI_LIAO_YI_BU_QI}'){
	 			grey('zlbqbs');
	 		 }
	 		 
	 		 if(!channelType || channelType == '') {
	 			space('lstdbs');
	 		 } else if (channelType == '50') {
	 			 if(!channelStatus || channelStatus == '') {
	 				space('lstdbs');
	 			 } else if(channelStatus == '10') {
	 				green('lstdbs');
	 			 } else if(channelStatus == '20') {
	 				grey('lstdbs');
	 			 } else if(channelStatus == '90') {
	 				grey('lstdbs');
	 			 }
	 		 } else {
	 			space('lstdbs');
	 		 }
	 		 
	 		 if(addedStatus1) {
	 			if(addedStatus1 <= 20) {
		 			space('sqdz'); 
		 		 } else if(addedStatus1 >= 100){
		 			grey('sqdz'); 
		 		 } 
	 		 } else {
	 			space('sqdz');  
	 		 }
	 		 
	 		 
	 		 $('.splztab').each(function(){
	 			 var equal = $(this).attr('equal');
	 			 var cw = $(this).attr('cw');
	 			var min = $(this).attr('min');
	 			var max = $(this).attr('max');
	 			var minX = $(this).attr('minX');
	 			var minE = $(this).attr('minE');
	 			
	 			 var id =$(this).attr('id');
	 			 if(equal && equal != '') {
	 				if(equal < busiStatus) {
	 					grey(id);
	 				} else if(equal == busiStatus) {
	 					green(id);
	 				} else {
	 					space(id);
	 				}
	 			 }
	 			if(cw && cw != '') {
	 				if(cw < addedStatus1) {
	 					grey(id);
	 				} else if(cw == addedStatus1) {
	 					green(id);
	 				} else {
	 					space(id);
	 				}
	 			 }
	 			 if(min && min != '' && max && max != '') {
	 				 if(busiStatus < min) {
	 				    space(id);
	 				 } else if(busiStatus >= min && busiStatus <= max){
	 					green(id);
	 				 } else {
	 					grey(id);
	 				 }
	 			 }
	 			 //clzlfs 车辆资料复审  minX="400" minE="210" max="450"
	 			if(minX && minX != '' && minE && minE != '' && max && max != '') {
	 				if(carType == '02') { //二手车
		 				 if(busiStatus < minE) {
		 				    space(id);
		 				 } else if(busiStatus >= minE && busiStatus < max){ //不包括max
		 					green(id);
		 				 } else {
		 					grey(id);
		 				 }
	 				} else if(carType == '01') {
	 					if(busiStatus < minX) {
		 				    space(id);
		 				 } else if(busiStatus >= minX && busiStatus < max){ //不包括max
		 					green(id);
		 				 } else {
		 					grey(id);
		 				 }
	 				}
	 			 }
	 		 });
	 	}
	 	
	 	//业务信息
		function getYwBusinessDetailZ(url){
			$.dpAjax({
		 		url:url,
				data:{busiId:busiId},
				success: function(datas){
	 				 var data = datas.result;
	 				 if(data){
	 					 //提车状态
	 					 var pickCarStatus = data.pickCarStatus;
	 					 //车牌登记状态
	 					 var registrationPlatesStatus = data.registrationPlatesStatus;
	 					 //抵押状态
	 					 var pledgeStatus = data.pledgeStatus;
	 					 //按期还款状态
	 					 var lendingStatus = data.lendingStatus;
	 					 //退押金状态
	 					 var depositMoneyStatus = data.depositMoneyStatus;
	 					 /* 业务信息 */
	     				 var ywBusinessDetail = data.ywBusinessDetail;
	     				 if(ywBusinessDetail) {
		     				 $('#customerNameZ').text(ywBusinessDetail.customerName);
		     				 $('#busiCode').text(ywBusinessDetail.busiCode);
		     				 $('#orgName').text(ywBusinessDetail.orgName);
		     				 $('#salesmanName').text(ywBusinessDetail.salesmanName);
		     				 $('#channelType').text(ywBusinessDetail.channelTypeDisplay);
		     				 $('#channelStatus').text(ywBusinessDetail.channelStatusDisplay);
		     				 $('#dealerName').text(ywBusinessDetail.dealerName);
		     				 $('#dealerLevel').text(ywBusinessDetail.dealerLevelDisplay);
		     				 $('#loanBank').text(ywBusinessDetail.loanBankDisplay);
		     				 $('#loanType').text(ywBusinessDetail.loanTypeDisplay);
		     				 $('#zhxx_loanAmount').text(ywBusinessDetail.realLoanAmount?ywBusinessDetail.realLoanAmount.toFixed(2):'-');
		     				 $('#zhxx_realLoanAmount').text(ywBusinessDetail.realLoanAmount?ywBusinessDetail.realLoanAmount.toFixed(2):'-');
		     				 $('#fangk_realLoanAmount').text(ywBusinessDetail.realLoanAmount?ywBusinessDetail.realLoanAmount.toFixed(2):'-');
		     				 var operationName = '';
		     				 var operationType = ywBusinessDetail.operationType;
		     				/**
		     				 * 打包附件操作
		     				 * 1：暂无
		     				 * 2: 生成中
		     				 * 3：下载
		     				 * 4：生成
		     				 */
		 					 var operationName = '';
		 					 if(operationType == 1) {
		 						operationName = '<span style="color:#FC1515;">暂无<span>';
		 					 } else if(operationType == 2){
		 						operationName = '生成中';
		 					 } else if(operationType == 3){
		 						operationName = '<a type="button" download="' + ywBusinessDetail.rarName + '" href="' + ywBusinessDetail.rarOssPath + '">下载</a>';
		 					 } else if(operationType == 4){
		 						operationName = '<a type="button" href="javascript:void(0);" onclick="createRar(\'' + ywBusinessDetail.replaceId + '\', \'' + ywBusinessDetail.queryCreditApplyId + '\');">生成</a>';
		 					 }
		     				 $('#optionType').html(operationName);
		     				 var phoneStatus = ywBusinessDetail.phoneStatus;
		     				 var busiStatus = ywBusinessDetail.busiStatus;
		     				 var channelType = ywBusinessDetail.channelType;
		     				 var channelStatus = ywBusinessDetail.channelStatus;
		     				 var lessInformationStatus = ywBusinessDetail.lessInformationStatus;
		     				 var addedStatus1 = ywBusinessDetail.addedStatus1;
		     				 var carType = ywBusinessDetail.carType;
		     				showSplz(phoneStatus, busiStatus, channelType, channelStatus, lessInformationStatus, addedStatus1, pickCarStatus, registrationPlatesStatus, pledgeStatus, lendingStatus, depositMoneyStatus,carType);
	     				 }
	     				 /* 附加信息 */
	     				var ywBusinessExtras = data.ywBusinessExtras;
	     				 if(ywBusinessExtras && ywBusinessExtras.length > 0) {
	     					var html = '';
	     					 for(var i = 0; i < ywBusinessExtras.length; i++){
	     						 var ywBusinessExtra = ywBusinessExtras[i];
	     						 var unit = '';
	     						 if(ywBusinessExtra.codeExtras == '${businessExtrasCodeTypeNames.ADD_GPS }') {
	     							unit = '个';
	     						 } else if(ywBusinessExtra.codeExtras == '${businessExtrasCodeTypeNames.ADD_GEPOSIT }') {
	     							unit = '元';
	     						 }
	     						 html += ywBusinessExtra.nameExtras + ywBusinessExtra.valueExtras +　unit + '&nbsp;';
	     					 }
		     				$("#splz_extra").html(html);
	     				 }
	 				 }
	         }
	 	});
	}
	 /**
	  * 生成RAR
	  */
	 function createRar(busiId, applyId){
		 if(!busiId || busiId == '' || !applyId || applyId == '') {
			 layer.msg('必须参数缺失', {icon: 5, time:2000});
			 return;
		 }
		 $.dpAjax({
	 		url:'${basePath}/BaseCustomerController/createRar',
			data:{busiId:busiId, applyId:applyId},
			success: function(datas){
				$('#optionType').html('生成中');
	        }
	 	});
	 }
</script>
</body>
</html>